package com.maven.booksystem.mapper;


import com.maven.booksystem.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user_info where delete_flag=0 and user_name=#{userName}")
    public UserInfo getByUsername(String username);

}
